﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using blackhouse.WebNemo.Business.Groups;
using blackhouse.WebNemo.Business;

namespace blackhouse.WebNemo.Web.DataSources {

	[DataObject(true)]
	public class GroupDataSource {

		[DataObjectMethod(DataObjectMethodType.Select, true)]
		public IGroup[] GetAllGroups() {
			return Factory.Instance().GetGroupOperators().GetGroups();
		}

	}
}